<?php

namespace App\Models;

use Dcat\Admin\Traits\ModelTree;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Contracts\Pagination\LengthAwarePaginator;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class VoteCls extends Model
{

    use ModelTree;

    use HasFactory;

    public static $parent_id = 0;

    /**
     * 数据表
     *
     * @var string
     */
    protected $table = 'vote_cls';

    /**
     * 可以被批量赋值的属性。
     *
     * @var array
     */
    protected $fillable = [
        'c_key',
        'title',
        'sort_id',
        'content',
        'parent_id',
        'is_using',
    ];

}
